package com.mapper;

import com.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    //登录方法
    User login(User user);

    //查询全部
    List<User> selectUserAll();

    void insert(User user);
}
